//
//  LCCellFactory.m
//  段子手
//
//  Created by dllo on 16/3/25.
//  Copyright © 2016年 JokesTeam. All rights reserved.
//

#import "LCCellFactory.h"

@implementation LCCellFactory

+ (LCBaseTableViewCell *)cellForString:(NSString *)str{
    
//    NSString *cellClassStr = [NSString stringWithFormat:@"%@", str];
    
    Class CellClass = NSClassFromString(str);
    
    LCBaseTableViewCell *cell = [[CellClass alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:str];
    
    return cell;
}


@end
